﻿namespace Pp.Domain.Mappings
{
    using Model;

    public sealed class AngelMap : EntityMap<Angel>
    {
        public AngelMap()
        {
            References(d => d.Project, "ProjectId").LazyLoad();
            Map(d => d.Name);
            Map(d => d.Description).Length(MAX_LENGTH);
        }
    }
}